package com.qf.xiaomi.service;

import com.qf.xiaomi.pojo.TbAddress;
import com.qf.xiaomi.pojo.User;

import java.util.List;

/**
 * @Created by 马英超 on 2022/8/15 19:32
 * @author： 马英超
 * @version：v1.0
 * @description:
 */
public interface UserService {

    //用户注册
  //public boolean  registeredUser(String username,String password,String email,String gender);
  public boolean  registerUser(User user);
//用户登录
User userLogin(String username,String password);

    boolean activeUser(String email, String code);
    //用户校验
   // public boolean checkUser(String username);

    //根据用户id查询用户地址信息
    List<TbAddress> queryAddress(int uid);
}
